home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
MacPowerオリジナル
/
Edutainment World
/
チャンプジム for DEMO
/
DIR
/
mitt.dir
/
00078_Script_78
< prev
next >
Wrap
Text File
|
1997-09-29
|
930b
|
40 lines
on exitFrame
global tempUser,tempCountry
global gMONME,gMONMEmin
set gMONME = 1
set gMONMEmin = 1
global gameList,REgameList
global mittList,REmittList
global gMODE
if gMODE = "game" then
set gameList = value(string(mittList))
set REgameList = value(string(REmittList))
else
global UsermonNum
set gameList = IndTraning (tempUser,1,UsermonNum)
set REgameList = []
repeat with i=1 to UsermonNum
add REgameList,3
end repeat
end if
global gSOMON
global SETTEI
if GetAt(SETTEI ,1) = 0 then
put 0 into gSOMON
repeat with i=1 to count(REgameList)
if (getAt (REgameList,i)) = 0 or (getAt (REgameList,i)) = 3 then put gSOMON + 1 into gSOMON
end repeat
else
put (count(gameList))/3 into gSOMON
end if
put gSOMON into field "馗ñれî"
put (count(gameList))/3 into SOMON
qRAND SOMON,SOMON
end